
import 'package:flutter/material.dart';
import 'package:home/assets/r.dart';
///https://www.zcool.com.cn/work/ZMzU5MjUyNTI=.html
///主题内容控制
ThemeData getTheme({required BuildContext context,bool isDark = false}){
  return isDark?
          ThemeData(
            brightness: Brightness.dark,
          ):
          ThemeData(
              brightness: Brightness.light,
          );
}